package com.wn.class30.entity;

import java.io.Serializable;

/**
 * join_img_case
 * @author 
 */
public class JoinImgCase implements Serializable {
    private Integer joinImgCaseId;

    /**
     * 案例图路径
     */
    private String joinImgCaseUrl;

    /**
     * 图片描述
     */
    private String joinImgCaseDesc;

    private static final long serialVersionUID = 1L;

    public Integer getJoinImgCaseId() {
        return joinImgCaseId;
    }

    public void setJoinImgCaseId(Integer joinImgCaseId) {
        this.joinImgCaseId = joinImgCaseId;
    }

    public String getJoinImgCaseUrl() {
        return joinImgCaseUrl;
    }

    public void setJoinImgCaseUrl(String joinImgCaseUrl) {
        this.joinImgCaseUrl = joinImgCaseUrl;
    }

    public String getJoinImgCaseDesc() {
        return joinImgCaseDesc;
    }

    public void setJoinImgCaseDesc(String joinImgCaseDesc) {
        this.joinImgCaseDesc = joinImgCaseDesc;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        JoinImgCase other = (JoinImgCase) that;
        return (this.getJoinImgCaseId() == null ? other.getJoinImgCaseId() == null : this.getJoinImgCaseId().equals(other.getJoinImgCaseId()))
            && (this.getJoinImgCaseUrl() == null ? other.getJoinImgCaseUrl() == null : this.getJoinImgCaseUrl().equals(other.getJoinImgCaseUrl()))
            && (this.getJoinImgCaseDesc() == null ? other.getJoinImgCaseDesc() == null : this.getJoinImgCaseDesc().equals(other.getJoinImgCaseDesc()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getJoinImgCaseId() == null) ? 0 : getJoinImgCaseId().hashCode());
        result = prime * result + ((getJoinImgCaseUrl() == null) ? 0 : getJoinImgCaseUrl().hashCode());
        result = prime * result + ((getJoinImgCaseDesc() == null) ? 0 : getJoinImgCaseDesc().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", joinImgCaseId=").append(joinImgCaseId);
        sb.append(", joinImgCaseUrl=").append(joinImgCaseUrl);
        sb.append(", joinImgCaseDesc=").append(joinImgCaseDesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}